package com.mayikt.spike.mapper.entity;

import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * (MeiteOrder) 实体类
 *
 * @author zhangxun
 * @since 2020-06-18
 */
@Data
@TableName(value = "meite_order")
public class Order implements Serializable {
	private static final long serialVersionUID=1L;
	/*** */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/*** */
	@TableField("seckill_id")
	private Long seckillId;

	/*** */
	@TableField("user_phone")
	private String userPhone;

	/*** */
	@TableField("state")
	private Integer state;

	/*** */
	@TableField("create_time")
	@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

}